package io.bdmc.modules.api.service;

import javax.jms.Destination;

public interface ProducerService {
    /**
     * 向指定队列发送消息
     */
    void sendMessage(Destination destination, String msg);
    /**
     * 向默认队列发送消息
     */
    void sendMessage(String msg);
}